Prizm Content Connect
Digital Rights Management Configuration

The viewer can be configured to disable UI buttons that will allow an end user to easily duplicate the content of a document.

The following UI buttons can be disabled using configuration options:

Example
Copy Code
// DRM options are controlled through the viewer’s options argument.
var pluginOptions = {
       documentID: viewingSessionId,
       language: languageItems,
       template: htmlTemplates,
       uiElements: {
           download: false,   // hide download button
           copyPaste: false,  // hide select text tool button
           printing: false    // hide print button
       },
   };

$("#myDiv").pccViewer(pluginOptions);

Server-Side DRM

DRM options for the viewer are enforced only in the viewer UI. A skilled end user can manipulate the browser to circumvent the viewer-based DRM enforcement.

Techniques a skilled user can use to circumvent viewer-based DRM enforcement:

  1. Edit the JavaScript run by the browser, which allows them to:
    1. Change the plugin options for DRM.
    2. Directly call the API of the viewer control to print or set the select text tool.
  2. Directly call the server API to download the original document.

Stronger enforcement of DRM can be put in place using server-side code changes. Techniques for stronger DRM enforcement are listed below:

Document Download

  1. Create a new viewerTemplate.html file that excludes the document download button (data-pcc-download).
    1. Using this technique, the download button will not be available, regardless of the plugin options.
  2. Disable the document download web service by unregistering the download services in the pcc.ashx file:
     
    Copy Code
    "^/ViewingSession/(?<ViewingSessionId>[^/]+)/SourceFile$"
    "^/SaveDocument/(?<DocumentID>[^/])"
    
    1. Using this technique, the document download service(s) will be unavailable.

Copying Text

There are not any server-side techniques to strengthen DRM enforcement of copying text. However, removing the text selection control from the UI will require the user to understand the text selection API in order to enable it on the client. The manner in which the product renders svg also makes it nearly impossible to copy text just using a browser’s text selection capability.

Printing

  1. Create a new viewerTemplate.html file that excludes the print button (data-pcc-print="launch").
    1. Using this technique, the print button will not be available, regardless of the plugin options.
  2. Exclude the print template from the configuration object passed to the viewer (pluginOptions.template.print).
    1. This can be controlled by the server-side code that generates the page.
    2. Using this technique, the ViewerControl#print(options) method will be non-functional.

Content Encryption

For an added layer of security, Content Encryption can be enabled to provide an obscured transfer of data from the PCC Services to the client website, preventing unauthorized agents from discerning the content being transmitted. See Enabling Content Encryption for more information.

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback